operator (/) Interface

public interface operator (/)

Module Procedures

public function torch_tensor_divide(tensor1, tensor2) result(output)

Overloads division operator for two tensors.

Arguments

Type IntentOptional Attributes Name
type(torch_tensor), intent(in) :: tensor1
type(torch_tensor), intent(in) :: tensor2

Return Value type(torch_tensor)

public function torch_tensor_postdivide_int8(tensor, scalar) result(output)

Overloads division operator for a tensor and a scalar of type int8.

Arguments

Type IntentOptional Attributes Name
type(torch_tensor), intent(in) :: tensor
integer(kind=int8), intent(in) :: scalar

Return Value type(torch_tensor)

public function torch_tensor_postdivide_int16(tensor, scalar) result(output)

Overloads division operator for a tensor and a scalar of type int16.

Arguments

Type IntentOptional Attributes Name
type(torch_tensor), intent(in) :: tensor
integer(kind=int16), intent(in) :: scalar

Return Value type(torch_tensor)

public function torch_tensor_postdivide_int32(tensor, scalar) result(output)

Overloads division operator for a tensor and a scalar of type int32.

Arguments

Type IntentOptional Attributes Name
type(torch_tensor), intent(in) :: tensor
integer(kind=int32), intent(in) :: scalar

Return Value type(torch_tensor)

public function torch_tensor_postdivide_int64(tensor, scalar) result(output)

Overloads division operator for a tensor and a scalar of type int64.

Arguments

Type IntentOptional Attributes Name
type(torch_tensor), intent(in) :: tensor
integer(kind=int64), intent(in) :: scalar

Return Value type(torch_tensor)

public function torch_tensor_postdivide_real32(tensor, scalar) result(output)

Overloads division operator for a tensor and a scalar of type real32.

Arguments

Type IntentOptional Attributes Name
type(torch_tensor), intent(in) :: tensor
real(kind=real32), intent(in) :: scalar

Return Value type(torch_tensor)

public function torch_tensor_postdivide_real64(tensor, scalar) result(output)

Overloads division operator for a tensor and a scalar of type real64.

Arguments

Type IntentOptional Attributes Name
type(torch_tensor), intent(in) :: tensor
real(kind=real64), intent(in) :: scalar

Return Value type(torch_tensor)